package com.sinsz.c.dubbo;

/**
 * 消费机制
 * @author chenjianbo
 * @date 2017/12/4
 */
public enum DubboLoadbalanceEnum {
    /**
     * 分别为：随机；轮询；活跃最少；
     */
    RANDOM("random"),

    ROUNDROBIN("roundrobin"),

    LEASTACTIVE("leastactive")
    ;

    private String text;

    DubboLoadbalanceEnum(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return text;
    }

}